@import url(./base.less);
body{
  background-color: #f1f1f2;
}

.header{
  width: 100%;
  height: 13.3333vw;
  background-color: #c21401;
  font-size: 4.2667vw;
  text-align: center;
  line-height: 13.3333vw;
  color: #fff;
  font-weight: 700;
}
.search{
  position: relative;
  height: 18.6667vw;
  display: flex;
  justify-content: center;
  
  align-items: center;
  span{
    position: absolute;
    top: 5.6667vw;
    left: 21vw;
    font-size: 6vw;
  }
  input{
    width: 90%;
    height: 11.7333vw;
    font-size: 5vw;
    background-color: #fff;
    border-radius: 1.3333vw;
    padding-left: 23.6667vw;
  }
}
.slideshow{
  height: 49.0667vw;
  img{
    height: 49.0667vw;
  }
}
.inform{position: relative;
  height: 8vw;
  background-color: #f2dbdb;
  img{
    position: absolute;
    left: 3.3333vw;
    top: 1.5vw;
    width: 4.8vw;
    height: 4.8vw;
  }
  span{
    display: block;
    margin-left: 13.3333vw;
    width: 70%;
    height: 8vw;
    line-height: 8vw;
  }
}


.nav{
  height: 38.4vw;
  background-color: #fff;
  display: flex;
  flex-wrap: wrap;
  a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 20%;
    height: 19.2vw;
    img{
      width: 8.5333vw;
      height: 8.5333vw;
    }
    p{
      font-size: 3.2vw;
      padding-top: 1.2vw;
    }
  }
}
.pic{
  height: 31.4667vw;
}
.title{
  height: 8vw;
  background-color: #fff;
  text-align: center;
  line-height: 8vw;
  margin: 0.2vw 0;
}
.goods{
  width: 100%;
  margin-bottom: 26.6667vw ;
  .item{
    width: 100%;
    height: 27.4667vw;
    padding: 1.8667vw;
    display: flex;
    background-color: #fff;
    margin-bottom: 5px;
    .item_left{
      width: 40%;
      img{
        display: block;
        height: 23.4667vw;
        width: 23.4667vw;
      }
    }
    .item_right{
      width: 60%;
        .spa{
          margin: 1.3333vw 1.3333vw 0 1.3333vw ;
          font-size: 2.6vw;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
        }
        .spb{
          font-size: 3.4667vw;
          padding: 1vw 1.3333vw;
          color: #999;
        }
        .spc{
          font-size: 3.4667vw;
          .spca{
            color: red;
            margin-right: 2.3333vw;
            font-size: 4.3333vw;
            i{
              font-size: 3.4667vw;
            }
          }
          del{
            color: #999;
          }
        }
    }
  }
}
html, body {
  position: relative;
}
body {
  background: #eee;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 14px;
  color:#000;
  margin: 0;
  padding: 0;
}
.swiper-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.swiper-pagination-bullet-active {
  background-color: #c21401;
}